package com.business.bean.system;

import lombok.Getter;
import lombok.Setter;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author fengjian E-mail: 9110530@qq.com
 * @version 创建时间：2019年10月3日
 */
@Setter
@Getter
@Table(name = "SYS_FILE", description = "上传文件信息表")
public class FileBean {

	@Column(pk = true, type = Type.变长文本, description = "主键编号", canNull = false, size = 32, policy = "UUID")
	private String fileID = null;

	@Column(type = Type.变长文本, description = "源文件名", size = 150)
	private String originalName = null;

	@Column(type = Type.变长文本, description = "目标文件名", size = 150)
	private String fileName = null;

	@Column(type = Type.变长文本, description = "文件类型", size = 50)
	private String type = null;

	@Column(type = Type.数字整型, description = "文件大小")
	private int size = 0;

	@Column(type = Type.变长文本, description = "文件路径", size = 250)
	private String url = null;

}
